//
//  RequestTool.h
//  BeautifulLockerRoom
//
//  Created by mac on 16/7/28.
//  Copyright © 2016年 Winny. All rights reserved.
//

#import <Foundation/Foundation.h>
#import "AFNetworking.h"
#import "DataModel.h"

typedef void(^Block)(NSDictionary * dic);
typedef void(^ModelBlock)(NSMutableArray * array);
@interface RequestTool : NSObject

+(void)getNetworkRequestWithUrl:(NSString *)url date:(Block)block;

+(NSString *)getOtherDataURLWithValue:(NSString *)value;

+(void)getMainDataURLWithdate:(Block)block;

+(void)getAllModelWithValue:(NSString *)value data:(ModelBlock)block;


+(void)getOtherAllModelWithValue:(NSString *)value data:(ModelBlock)block;

//精选接口专用
+(void)getPersonalModelWithData:(Block)block;

+(void)getPersonalDataWithBlock:(ModelBlock)block;

@end
